package com.jadesoft.common.rp;

import com.jadesoft.common.web.AjaxAction;
import com.jadesoft.common.web.Bind;

public class JadeAction extends AjaxAction {
	/**
	 * 获取相邻的单据编号
	 * 
	 * @param String ['next','previous']
	 * @param curNo  当前单据编号
	 * @param clazz  单据类型
	 * @return
	 */
	@SuppressWarnings("unchecked")
	public String findAdjacentNo(@Bind(key = "c") String clazz,
			@Bind(key = "curNo") String curNo, @Bind(key = "type") String type) {
		try {
			Class clz = Class.forName(clazz);
		} catch (ClassNotFoundException e) {
			e.printStackTrace();
		}
		return null;
	}
}
